package com.hassean.we.admin.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hassean.we.admin.mapper.TbSimFlowMapper;
import com.hassean.we.admin.model.entity.TbSimFlow;
import com.hassean.we.admin.service.TbSimFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yajun
 * @since 2019-03-29
 */
@Service
public class TbSimFlowServiceImpl extends ServiceImpl<TbSimFlowMapper, TbSimFlow> implements TbSimFlowService {
    @Autowired
    TbSimFlowMapper tbSimFlowMapper;
    @Override
    public List<Map<String, Object>> getIdByPhone(String phone) {
        List<Map<String, Object>> list =tbSimFlowMapper.getIdByPhone(phone);
        return list;
    }

    @Override
    public List<Map<String, Object>> getMaxAddTime() {

        List<Map<String, Object>> list = tbSimFlowMapper.getMaxAddTime();

        return list;
    }
}
